package com.maxsalad.uc.em;

/**
 * Created by 2014-400 on 2016-03-16.
 */
public enum Platform {
    BaiDu("BaiDu", "百度外卖"),
    EleMe("EleMe", "饿了么"),
    PosPal("PosPal", "银豹");

    private String code;
    private String name;

    Platform(String code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public String toString() {
        return this.code;
    }

    public String toCnString() {
        return this.name;
    }
}
